import service from "@/utils/request";

const CollageApi = {
  addData(data) {
    return service.post("collage", data);
  },
  editData(data) {
    return service.put("collage", data);
  },
  updateState(data) {
    return service.put("collage/updateState", data);
  },
  deleteData(data) {
    return service.put("collage/deleteCollage", data);
  },
  pageData(data) {
    return service.get("collage/page", { params: data });
  },
  getData(data) {
    return service.get("collage", { params: data });
  },
  listCollagePayer(data) {
    return service.get("collage/listPayer", { params: data });
  }
};

export default CollageApi;
